package com.bawei.module_journal.list.model

import com.bawei.library_net.RetrofitManager
import com.bawei.module_journal.list.entity.RequestEntity
import com.bw.journal.list.entity.JournalListResponseEntity
import okhttp3.RequestBody
import retrofit2.http.Body
import retrofit2.http.POST


class JournalListService {
    private val api:JournalListApi
    init {
        api = RetrofitManager.instance.create(JournalListApi::class.java)
    }
    suspend fun requestJournalList(requestEntity: RequestEntity): JournalListResponseEntity{
        return api.requestJournalList(requestEntity)
    }
}